package com.oak.designmode._13_builderPattern;

/**
 * 指导者类（Director）
 *
 * @Description  负责调用builder的方法组装产品
 * @Author guoxy
 * @Date 2020/3/18
 * @Version 1.0
 */
public class ComputerDirector {
    public void makeComputer(ComputerBuilder builder){
        builder.setUsbCount();
        builder.setDisplay();
        builder.setKeyboard();
    }
}